import App from '../src/App.vue'

//  引入avnt组件样式
import 'vant/lib/index.css';
import 'vant/es/toast/style';

import { createApp } from 'vue'
//导入pinia
import { createPinia } from "pinia"

//导入路由
import router from "@/router"

// 引入阿里云字体图标css
import './assets/iconfont/font_3687143_flnt6dbbg5/iconfont';
import './assets/iconfont/font_3687143_flnt6dbbg5/iconfont';

//导入瀑布流布局
// import waterfall from "vue-waterfall2";
// import waterfall from "vue-waterfall2"

//创建vue实例
const app = createApp(App)
//创建pinia实例
const pinia = createPinia()


//将router挂载到vue实例
app.use(router)
//将pinia 挂载到Vue实例
app.use(pinia)
//将瀑布流布局挂载到vue实例
// app.use(waterfall)

app.mount('#app')
